- content_for :meta do
  %meta{:name => "Description", :content => "This pages has the search results for #{params[:term] if params[:term]}"}
  %meta{:name => "Abstract", :content => "Search results"}
  %meta{:name => "Keywords", :content => (params[:term] if params[:term])}
- content_for :title do
  = "search results for \"#{params[:term] if params[:term]}\""
%div.search_items
  = render :partial => "pages"
  = render :partial => "photos"
  = render :partial => "videos"
  = render :partial => "galleries"
  = render :partial => "comments"
  - if @photos.empty? && @videos.empty? && @galleries.empty? && @comments.empty? && @pages.empty?
    %h2
      = "Nothing was found matching the term"
      %span.search_term= "\"#{params[:term]}\""